# -*- coding:utf-8 -*-
"""
Author：Administrator
Date:2021年12月19日
"""
import numpy as np

n = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]])
print(n)
# print(n[:2, 1:])
# print(n[1, :2])
# print(n[:2,2])
print(n[:,:1])